vulkan: Don't wait until graphics are done computing
authorBenjamin Otte <otte@redhat.com>
Thu, 8 Dec 2016 18:56:56 +0000 (19:56 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 9 Dec 2016 17:35:51 +0000 (18:35 +0100)
commitb2e30fb66e2fe85f94fe8a5a3a5a23bd9435253a
tree1510bbacf759e49340e3b2a9567bcc5c3108c7ab
parentac9d48151bdf316f4dcb67eac75d73c6c05606a5
vulkan: Don't wait until graphics are done computing

We can let the GPU do its stuff without waiting. The GPU knows what it's
doing.

Which means we now get a lot of time to spend on doing CPU things (read:
we're way better in benchmarks).

The old behavior is safer, so we want to keep it around for debugging.
It can be reenabled with GSK_RENDERING_MODE=sync.
gsk/gskdebug.c
gsk/gskdebugprivate.h
gsk/gskvulkanrender.c